﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>喵喵</title>

<link href="css/default.css" type="text/css" rel="stylesheet">
<link rel="stylesheet" href="layui/css/layui.css"  media="all">
</head>
<body>
<div style="text-align:center;clear:both;">
</div>
<canvas id="canvas"></canvas>
<div id="mainDiv">

	<div id="content">
		<div id="code">
			<span class="comments font-24">@.@</span><br />
			<span class="space"/><span class="comments font-20">2021—05-10 00:10:00</span><br />
			<span class="space"/><span class="comments font-20">2021-05-20</span><br />
			<span class="comments font-24">@.@</span><br />

			<fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
				<legend>我们的时间线：</legend>
			</fieldset>
			<ul class="layui-timeline">
				<li class="layui-timeline-item">
					<i class="layui-icon layui-timeline-axis"></i>
					<div class="layui-timeline-content layui-text">
						<div class="layui-timeline-title">
							<button type="button" class="layui-btn layui-btn-primary layui-btn-radius font-20">幸运二人组</button>
						</div>
					</div>
				</li>
				<li class="layui-timeline-item">
					<i class="layui-icon layui-timeline-axis"></i>
					<div class="layui-timeline-content layui-text">
						<div class="layui-timeline-title">
							<button type="button" class="layui-btn layui-btn-primary layui-btn-radius font-20">不忙就休息</button>
						</div>
					</div>
				</li>
				<li class="layui-timeline-item">
					<i class="layui-icon layui-timeline-axis"></i>
					<div class="layui-timeline-content layui-text">
						<div class="layui-timeline-title">
							<button type="button" class="layui-btn layui-btn-primary layui-btn-radius font-20">不忙就休息</button>
						</div>
					</div>
				</li>
				<li class="layui-timeline-item">
					<i class="layui-icon layui-timeline-axis"></i>
					<div class="layui-timeline-content layui-text">
						<div class="layui-timeline-title">
							<button type="button" class="layui-btn layui-btn-primary layui-btn-radius font-20">还有啥词夸夸你</button>
						</div>
					</div>
				</li>
				<li class="layui-timeline-item">
					<i class="layui-icon layui-timeline-axis"></i>
					<div class="layui-timeline-content layui-text">
						<div class="layui-timeline-title">
							<button type="button" class="layui-btn layui-btn-primary layui-btn-radius font-20">好奇男生宿舍</button>
						</div>
					</div>
				</li>
				<li class="layui-timeline-item">
					<i class="layui-icon layui-timeline-axis"></i>
					<div class="layui-timeline-content layui-text">
						<div class="layui-timeline-title">
							<button type="button" class="layui-btn layui-btn-primary layui-btn-radius">偷看女生宿舍</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
		<div id="loveHeart">
			<canvas id="garden"></canvas>
			<div id="words">
				<div id="messages">
					喵喵
					<div id="elapseClock"></div>
				</div>
				<div id="loveu">
					幸运大爆棚<span class="space"/><span class="space"/><br/>
					<div class="signature">多多</div>
				</div>
			</div>
		</div>
	</div>
</div>

<script src="layui/layui.js" charset="utf-8"></script>
<script src="https://cdn.jsdelivr.net/npm/bubbly-bg@1.0.0/dist/bubbly-bg.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/garden.js"></script>
<script type="text/javascript" src="js/functions.js"></script>
<script type="text/javascript">
	bubbly({
		canvas: document.getElementById("canvas")
	});
var offsetX = $("#loveHeart").width() / 2;
var offsetY = $("#loveHeart").height() / 2 - 55;
var together = new Date();
together.setFullYear('2021','04','10');
together.setHours(0);
together.setMinutes(10);
together.setSeconds(0);
together.setMilliseconds(0);

if (!document.createElement('canvas').getContext) {
	var msg = document.createElement("div");
	msg.id = "errorMsg";
	msg.innerHTML = "Your browser doesn't support HTML5! Recommend use Chrome 14+/IE 9+/Firefox 7+/Safari 4+";
	document.body.appendChild(msg);
	$("#code").css("display", "none")
	$("#copyright").css("position", "absolute");
	$("#copyright").css("bottom", "10px");
	document.execCommand("stop");
} else {
	setTimeout(function () {
		startHeartAnimation();
	}, 5000);

	timeElapse(together);
	setInterval(function () {
		timeElapse(together);
	}, 500);

	adjustCodePosition();
	$("#code").typewriter();
}
</script>

</body>
</html>